//
//  PersonNetService.h
//  Shengzhuli
//
//  Created by 卡忙科技 on 16/8/12.
//  Copyright © 2016年 kamangkeji. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "AddressModel.h"
#import "ProvincesModel.h"

@interface ReceiveAddressNetwork : NSObject

+ (void)createAddressWithParame:(NSDictionary *)parames response:(void (^)(BOOL success,NSString *msg))response;

+ (void)getAddressListWithParame:(NSDictionary *)parames response:(void (^)(BOOL success,NSString *msg,NSArray *addresses))response;

+ (void)changeDefaultAddressWithParame:(NSDictionary *)parames response:(void (^)(BOOL success,NSString *msg))response;

+ (void)modifyDetailAddressWithParame:(NSDictionary *)parames response:(void (^)(BOOL success,NSString *msg))response;

+ (void)deleteAddressWithParame:(NSDictionary *)parames response:(void (^)(BOOL success,NSString *msg))response;

+ (void)getDefaultAddressWithParame:(NSDictionary *)parames response:(void (^)(BOOL success,NSString *msg,AddressModel *model))response;

+ (void)getProvincesCitiesWithParame:(NSDictionary *)parames response:(void (^)(BOOL success,NSString *msg,NSArray *provinces))response;

@end
